from django.db import models

# Create your models here.

class NewsModel(models.Model):
    news_title_content = models.TextField(verbose_name='新闻标题')
    release_time = models.TextField(verbose_name='发布时间')

    class Meta:
        ordering = ['release_time']
        db_table = 'News'
        verbose_name = '新闻'
        verbose_name_plural = verbose_name
